public class Dog extends Animal{

    public Dog(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public void play(){
        System.out.println(name + "正在玩耍");
    }
}
